package com.yixin.hospital.entity.dto.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel("注册请求体")
public class RegisterReqDTO {

    @ApiModelProperty(value = "姓名", example = "刘的华")
    @NotBlank(message = "姓名不能为空")
    private String name;
    @ApiModelProperty(value = "手机号", example = "13277090522")
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @ApiModelProperty(value = "身份证号", example = "420983199405064010")
    @NotBlank(message = "身份证号不能为空")
    private String idCard;
    @ApiModelProperty(value = "密码", example = "123456")
    @NotBlank(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "学历", example = "本科")
    @NotBlank(message = "学历不能为空")
    private String education;
//    @ApiModelProperty(value = "部门", example = "1")
//    @NotNull(message = "部门不能为空")
//    private Long dept;
//    @ApiModelProperty(value = "工作地点", example = "1")
//    @NotNull(message = "工作地点不能为空")
//    private Long workAddress;
//    @ApiModelProperty(value = "职务", example = "[1,2,3]")
//    @NotNull(message = "职务不能为空")
//    private List<String> jobDuty;
    @ApiModelProperty(value = "职业", example = "1")
//    @NotNull(message = "职业不能为空")
    private Long job;
    @ApiModelProperty(value = "职称", example = "1")
//    @NotNull(message = "职称不能为空")
    private Long jobTitle;
//    @ApiModelProperty(value = "职业类型", example = "1")
//    @NotNull(message = "职业类型不能为空")
//    private Long jobType;
//    @ApiModelProperty(value = "工作科室", example = "1")
//    @NotNull(message = "工作科室不能为空")
//    private Long jobOffice;

    @ApiModelProperty(value = "审批人列表", example = "[1,1]")
    @NotNull(message = "审批人列表不能为空")
    List<Long> auditUserIds;

}
